package main

import "fmt"

func div(a,b int)int{
	return a*b
}

func div2(a,b int)(x int,y int){
	//多返回值，一般用于返回错误
	return a*b,a%b
}

func main() {

	fmt.Println(div(2,4))
	x, y := div2(3, 4)
	q, _ := div2(3, 4)
	fmt.Println(x,y)
	fmt.Println(q)

}
